package com.example.bishe.service.impl;

import com.example.bishe.entity.Rygz;
import com.example.bishe.mapper.RygzMapper;
import com.example.bishe.service.RygzService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author yws
 * @Date 2022/4/8 21:53
 */
@Service
public class RygzServiceImpl implements RygzService {
    @Autowired
    RygzMapper rygzMapper;
    @Override
    public void addRygz(Rygz rygz) {
        rygzMapper.addRygz(rygz);
    }

    @Override
    public Rygz[] selectRygz(Rygz rygz) {
        return rygzMapper.selectRygz(rygz);
    }

    @Override
    public void queryRygz(Rygz rygz) {
        rygzMapper.queryRygz(rygz);
    }

    @Override
    public void deleteRygz(Rygz rygz) {
        rygzMapper.deleteRygz(rygz);
    }
}
